package com.jessechanrui.template.common.template.auth.infrastructure.feign.authcenter;

import com.fasterxml.jackson.annotation.JsonAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "认证中心登录响应")
public class LoginResponse {

    private ContentResponse content;

    private boolean success;

    @Data
    public class ContentResponse {
        @JsonAlias("access_token")
        @Schema(description = "令牌值")
        private String accessToken;
    }
}
